package com.jyblife.datasource.dao.mapper;

import com.jyblife.datasource.annotation.TargetDataSource;
import com.jyblife.datasource.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * CustMapper
 */
@Mapper
@TargetDataSource("test1")
public interface UserMapper {

    List<User> selectBySql(@Param("sql") String sql);

    int updateByPrimaryKeySelective(User user);
}




